<template>
  <div class="register_success activity">
     <navbar>报名成功</navbar>
      <div class="content">
          <div class="wrap top mx-1px-bottom">
              <h2>报名成功</h2>
              <p>
                您已参加试用抽奖活动，<br>
                我们会在完成活动5天后进行抽奖并和您联系。
              </p>
          </div>
          <div class="wrap activity_info" v-if="activity">
            <dl>
              <dt>{{ activity.title }}</dt>
              <dd>
                <span>时间：</span>
                <p>{{ activity.starts_at | time activity.ends_at }}</p>
              </dd>
              <dd>
                <span>地址：</span>
                <p>{{ activity.address }}</p>
              </dd>
              <dd>
                <span>教练：</span>
                <p>{{ activity.coach.nick_name }}</p>
              </dd>
            </dl>
          </div>
          <div class="bottomBar bottomBar_2">
            <button class="greyBtn" @click="jump('coupon_list')">查看我的野练PASS</button>
            <button class="redBtn" @click="jump('my_activity')">查看我的报名</button>
          </div>
      </div>
  </div>
</template>

<script type="text/ecmascript-6">
  import js from '../../../../cores/registration/register_success.vue';
  export default {
    extends: js
  }
</script>
<style rel="stylesheet/less" lang="less">
  @import "../../../../styles/ot.less";
</style>
